package top.cjwtx.holy.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import top.cjwtx.holy.pojo.dto.PwdCkDTO;
import top.cjwtx.holy.pojo.po.SacredtokenCk;

import java.util.List;

/**
 * 密码仓库持久层
 */
@Mapper
public interface SacredtokenCkDao extends BaseMapper<SacredtokenCk> {

    /**
     * 根据用户id查询密码的仓库及其归属的密码信息
     * @param userId
     * @return
     */
    List<PwdCkDTO> listPwdCkByUserId(Long userId);

}
